#include "StdAfx.h"
#include "SingletonClass.h"

SingletonClass * SingletonClass::m_pInstance=NULL;
SingletonClass::SingletonClass(void)
{
}

SingletonClass::~SingletonClass(void)
{
}
SingletonClass * SingletonClass::Instance()
{
	if (m_pInstance!=NULL)
	{
		m_pInstance=new SingletonClass();
	}
	return m_pInstance;

}
void SingletonClass::cleamInatance()
{
	delete m_pInstance;
	m_pInstance=NULL;
}
